#ifndef WPREDEFINEDVOLUMES_H
#define WPREDEFINEDVOLUMES_H

#include <string>
#include <vector>
#include "ajson5.h"
#include <unordered_map>
#include <fstream>

using std::ifstream;
using std::string;
using std::vector;
using std::unordered_map;
using namespace ArduinoJson;

class wPredefinedVolumes
{
    public:
        wPredefinedVolumes();
        virtual ~wPredefinedVolumes();
        bool readFromFile(string jsonfilename,string& error) ;
        string getHostDirByTag(string tag) ;

    protected:
        unordered_map<string, string> _volumes;

    private:
};

#endif // WPREDEFINEDVOLUMES_H
